﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>Untitled 2</title>
<style type="text/css">
.auto-style1 {
	color: #008080;
}
</style>
</head>

<body>
<h1>jSLCore.Client.Presentation.ApplicationContainer.<span class="auto-style1">ApplicationContainer</span></h1>
<p>ApplicationContainer is the main container, where there core is hosted. The main functions of the ApplicationContainer are authorization, dialogs and hosting your MainContentContainer.
Start your application by setting the VisualRoot to an instance of ApplicationContainer.
</p>
<h2>Important Members</h2>
<ul>
	<li><span class="auto-style1">NeedContentContainer </span>- You must implement and provide your MainContentContainer (kind of Master Page)</li>
	<li><span class="auto-style1">Dialog</span> - the current dialog (of type DialogControl)</li>
	<li><span class="auto-style1">CurrentContentContainer</span> - the singleton 
	instance of ApplicationContainer</li>
	<li><span class="auto-style1">NeedAuthorizeContainer</span> - You can 
	implement and provide your custom authorization dialog box</li>
	<li><span class="auto-style1">Logout</span> - log out and do operation 
	after...</li>
	<li><span class="auto-style1">ShowAuthorizationDialog</span> - show 
	authorization dialog</li>
</ul>
</body>
</html>
